package com.shu.project.dao;

import com.shu.project.model.Goods;
import com.shu.project.model.SeckillGoods;

public interface SeckillGoodsDao {
    int deleteByPrimaryKey(Long id);

    int insert(SeckillGoods record);

    int insertSelective(SeckillGoods record);

    SeckillGoods selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SeckillGoods record);

    int updateByPrimaryKey(SeckillGoods record);

    int reduceStock(Long goodsId);
}